package com.xinqi.xinqidev.pattern.strategy.impl;

import com.xinqi.xinqidev.entity.enumeration.HelloEnum;
import com.xinqi.xinqidev.pattern.strategy.HelloStrategy;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author xin麒
 * @date 2023/10/21 0:14
 */
@Component

public class ThirdHelloStrategyImpl implements HelloStrategy {
    @Override
    public HelloEnum gainSettleStatusEnum() {
        return HelloEnum.status_third;
    }

    @Override
    public Integer processDetail(String argument1, String argument2, List<Object> list) {
        //处理了很多逻辑得到：
        Integer result = 33;
        System.out.println("this is the first Strategy , result is " + result);
        return result;
    }
}
